home *** CD-ROM | disk | FTP | other *** search
/ APDL Eductation Resources / APDL Eductation Resources.iso / programs / electronic / rlab / !RLaB / examples / gnupl_pipe < prev    next >
Encoding:
Text File  |  1995-08-21  |  550 b   |  22 lines

  1. //-------------------------------------------------------------------//
  2. //  execute an external program through a task obey file
  3. //
  4.  
  5. //  Syntax:     gnupl_pipe ( M, N)
  6.  
  7. //  Description:
  8. //  !Runpipe is taskobey file , while M,N are parameters
  9. //  please read the 'function' and 'list' help files 
  10. //  Try >gnupl_pipe ("gnupipe", "te")
  11.  
  12. //-------------------------------------------------------------------//
  13.  
  14. gnupl_pipe = function ( M , N)
  15. {
  16.   local(M);
  17.   local(N); 
  18.   local (sys_string);
  19.   sys_string = "!Runpipe"+" "+M+" < "+N;
  20. system(sys_string);
  21. };
  22.